﻿using System.Collections.Generic;
using UnityEngine;
using System;
namespace UGUIMan
{
    public class Armas
    {
        public static bool Reload {
            set
            {
                if (value)
                {
                    ArmasCurrent = 10;
                    Reload = false;
                    return;
                }
            }
        }

        public static bool Full=true;
        public static List<GameObject> ArmasUI=new List<GameObject>();
        public static int ArmasMax=10;
        public static int ArmasCurrent=10;
        public static int ArmasMin = 0;
        public static bool ArmaShot()
        {
            if (ArmasCurrent > ArmasMin)
            {
                ArmasCurrent--;
                Debug.Log("ArmaLeft:" + ArmasCurrent);
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}